home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
mint
/
lib
/
mntlib44.zoo
/
mntlib
/
execl.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-03-01
|
339b
|
22 lines
/*
execl for MiNT/TOS; written by Eric R. Smith, and
placed in the public domain
*/
#include <stdarg.h>
#include <process.h>
#include <unistd.h>
#ifdef __STDC__
int execl(const char *path, ...)
#else
int execl(path)
char *path;
#endif
{
va_list args;
va_start(args, path);
return _spawnve(P_OVERLAY, path, (char **)args, NULL);
}